Average sentence length |
---|
16.7240 |
sentence length | percentage |
---|---|
2 | 0.0100 |
3 | 0.8400 |
4 | 1.0500 |
5 | 2.2700 |
6 | 3.2800 |
7 | 4.5000 |
8 | 4.5800 |
9 | 5.0000 |
10 | 5.1900 |
11 | 6.1400 |
12 | 5.0300 |
13 | 5.0400 |
14 | 4.2300 |
15 | 4.4700 |
16 | 3.6100 |
17 | 4.3500 |
18 | 4.5300 |
19 | 4.3800 |
20 | 3.0600 |
21 | 3.1400 |
22 | 2.8700 |
23 | 2.6400 |
24 | 2.1500 |
25 | 1.9500 |
26 | 1.6000 |
27 | 1.7400 |
28 | 1.4900 |
29 | 1.2100 |
30 | 1.2900 |
31 | 1.1400 |
32 | 1.0300 |
33 | 0.8500 |
34 | 0.8800 |
35 | 0.8500 |
36 | 0.5900 |
37 | 0.4900 |
38 | 0.5900 |
39 | 0.4400 |
40 | 0.4000 |
41 | 0.4000 |
42 | 0.2000 |
43 | 0.1500 |
44 | 0.1900 |
45 | 0.0600 |
46 | 0.0400 |
47 | 0.0200 |
48 | 0.0300 |
49 | 0.0100 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters